|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvnet.flamingo.common.CommandButtonDisplayState
public abstract class CommandButtonDisplayState
Display state for command buttons. This class provides a number of core display states, and it is possible to create additional custom states by using the protected constructor and implementing the relevant abstract methods.
| Nested Class Summary | |
|---|---|
static class |
CommandButtonDisplayState.CommandButtonSeparatorOrientation
Enumerates the available values for separator orientations. |
| Field Summary | |
|---|---|
static CommandButtonDisplayState |
BIG
Big state. |
static CommandButtonDisplayState |
FIT_TO_ICON
Fit to icon state. |
static CommandButtonDisplayState |
MEDIUM
Medium state. |
static CommandButtonDisplayState |
SMALL
Small state. |
static CommandButtonDisplayState |
TILE
Tile state. |
| Method Summary | |
|---|---|
abstract CommandButtonLayoutManager |
createLayoutManager(AbstractCommandButton commandButton)
Creates a layout manager for the specified button. |
java.lang.String |
getDisplayName()
Returns the display name for this state. |
int |
getPreferredIconSize()
Returns the preferred icon size for this state. |
abstract CommandButtonDisplayState.CommandButtonSeparatorOrientation |
getSeparatorOrientation()
Returns the separator orientation for this state. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CommandButtonDisplayState FIT_TO_ICON
public static final CommandButtonDisplayState BIG
public static final CommandButtonDisplayState TILE
public static final CommandButtonDisplayState MEDIUM
public static final CommandButtonDisplayState SMALL
| Method Detail |
|---|
public java.lang.String getDisplayName()
CommandButtonDisplayState(String, int)public int getPreferredIconSize()
CommandButtonDisplayState(String, int)public abstract CommandButtonLayoutManager createLayoutManager(AbstractCommandButton commandButton)
commandButton - Command button.
public abstract CommandButtonDisplayState.CommandButtonSeparatorOrientation getSeparatorOrientation()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||